export function getImageClassList(currentPage){
  const pageSize = 5;
  return new Promise((resolve, reject)=>{
    const list = [
      {id: 101, name: '运动旅游', images_count: 13, order: 1001},
      {id: 102, name: '居家生活', images_count: 12, order: 1002},
      {id: 103, name: '手机数码', images_count: 11, order: 1003},
      {id: 104, name: '智能家电', images_count: 10, order: 1004},
      {id: 105, name: '化妆品', images_count: 9, order: 1005},
      {id: 106, name: '健身器材', images_count: 8, order: 1006},
    ]

    const startIndex = (currentPage-1) * pageSize;
    const endIndex = startIndex + pageSize;
    const pageData = list.slice(startIndex,endIndex)

    const data = {list: pageData, totalCount: 11};
    resolve(data)
  })
}